package com.helei.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author helei
 * @description payment8004Application
 * @date 2020/8/21 10:12
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@EnableDiscoveryClient//该注解用于使用consul或者zookeeper作为注册中心时注册服务
public class payment8004Application {
    public static void main(String[] args) {
        SpringApplication.run(payment8004Application.class, args);
    }
}
